package com.lxh.miniapp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * created by lanxinghua@2dfire.com on 2020/2/21
 */
@Controller
public class PageController {

    @GetMapping(value = "/error/404")
    public String error404() {
        return "error";
    }

    @GetMapping(value = "/error/500")
    public String error500() {
        return "error";
    }
}
